//程序入口
window.main = function ($) {
    var root = $("#root");
    var viewer = root.photoViewer({
        getPhotoDoms: function (rootDom) {
            var list = rootDom.find("img").filter(function (index, dom) {
                return dom.src.indexOf("img/") > -1;
            });
            return list;
        },
        clickMaskHide: true,
    });
};
